package com.ruoyi.hospital.mapper.member;

import java.util.List;
import com.ruoyi.hospital.domain.member.MemberInvoice;

/**
 * 发票信息Mapper接口
 *
 * @author wendao
 * @date 2024-08-15
 */
public interface MemberInvoiceMapper
{
    /**
     * 查询发票信息
     *
     * @param id 发票信息主键
     * @return 发票信息
     */
    public MemberInvoice selectMemberInvoiceById(Integer id);

    /**
     * 查询发票信息列表
     *
     * @param memberInvoice 发票信息
     * @return 发票信息集合
     */
    public List<MemberInvoice> selectMemberInvoiceList(MemberInvoice memberInvoice);

    /**
     * 新增发票信息
     *
     * @param memberInvoice 发票信息
     * @return 结果
     */
    public int insertMemberInvoice(MemberInvoice memberInvoice);

    /**
     * 修改发票信息
     *
     * @param memberInvoice 发票信息
     * @return 结果
     */
    public int updateMemberInvoice(MemberInvoice memberInvoice);

    /**
     * 删除发票信息
     *
     * @param id 发票信息主键
     * @return 结果
     */
    public int deleteMemberInvoiceById(Integer id);

    /**
     * 批量删除发票信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMemberInvoiceByIds(Integer[] ids);
}
